﻿using System;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;

namespace Sizebox.CharacterEditor
{
	// Token: 0x0200024B RID: 587
	public class StartView : BaseView
	{
		// Token: 0x06000CC7 RID: 3271 RVA: 0x000675A3 File Offset: 0x000657A3
		protected override void Awake()
		{
			base.Awake();
			this.uiController = Camera.main.GetComponent<InterfaceControl>();
			this.startCharacterEditor.onClick.AddListener(new UnityAction(this.OnStartButton));
		}

		// Token: 0x06000CC8 RID: 3272 RVA: 0x000675D7 File Offset: 0x000657D7
		private void OnStartButton()
		{
			this.characterEditorView.EnableCharacterEditor();
		}

		// Token: 0x040011D3 RID: 4563
		[Space(15f)]
		[SerializeField]
		private CharacterEditorView characterEditorView;

		// Token: 0x040011D4 RID: 4564
		[SerializeField]
		private Button startCharacterEditor;

		// Token: 0x040011D5 RID: 4565
		private InterfaceControl uiController;
	}
}
